package com.zycx.common.annotation;

import java.lang.annotation.*;

/**
 * Description:  获取当前登录用户注解
 *      public ServerResponse userInfo( @CurrentSignInUser User user ){
 *                  return ServerResponse.successData(user);
 *      }
 * Created by zycx on 2018-12-07 21:28
 * Created with IntelliJ IDEA.
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CurrentSignInUser {
}
